//*** Rendering form for sorting numbers ***

oa.rf.sizeComparison = new RenderingForm(
    "sizeComparison",
    "Sort numbers from left to right in ascending order.",
    RenderingModeEL.individually,
    "Sort numbers from left to right in ascending order by pulling them to the right cell."
);
/**
 * Decides, if a given arithmetic problem type is applicable to an
 * sizeComparison rendering form.
 * 
 * @author Linda Eckardt
 * @param {ArithmeticProblemType} ap Type of an arithmetic problem.
 * @return {Boolean} True if given type is applicable, else false.
 */
oa.rf.sizeComparison.isApplicableTo = function (apt) {
  return (
    apt instanceof ArithmeticProblemType  && 
    apt.specialProblemCategory === SpecialProblemCategoryEL.SortingNumbers
  );  
};